<?php

return new \Phalcon\Config(array(
    'debug' => false,
    'database' => array(
        'host' => 'rds36ziz32avvaz.mysql.rds.aliyuncs.com',
        'username' => 'iyz_dev',
        'password' => 'iyz_dev',
        'dbname' => 'iyz',
        'charset' => 'utf8mb4',
    ),
	'crypt' => array(
		'key' => 'SPtcsEECTN1j!c1uKPosGh$t2eK&YF&C',
	),
    'acl' => array(
        'index' => array('index' => '首页'),
        'user' => array('index' => '用户 - 列表', 'child' => '用户 - 子用户列表','create' => '用户 - 创建','update' => '用户 - 修改','delete' => '用户 - 删除','history'=>'购买记录'),
        'profile' => array('index' => '自定义资料 - 列表','create' => '自定义资料 - 创建','update' => '自定义资料 - 修改','delete' => '自定义资料 - 删除'),
        'role' => array('index' => '角色 - 列表','create' => '角色 - 创建','permission' => '角色 - 权限管理','update' => '角色 - 修改','delete' => '角色 - 删除'),
        'setting' => array('index' => '全局设置'),
        'appmanager'=>array('index'=>'应用 - 管理','create'=>'应用 - 创建','update' => '应用 - 修改','delete' => '应用 - 删除'),
        'app'=>array('index'=>'应用 - 列表','info'=>'应用详情','myapp'=>'我的应用','buy'=>'购买应用'),
        'myinfo'=>array('index'=>'修改个人资料','recharge'=>'充值积分'),
        'resource'=>array('upload'=>'上传文件','upyun'=>'又拍云'),
        'config'=>array('wx'=>'微信配置','alipay'=>'支付宝配置'),
        'history'=>array('index'=>'购买记录'),
        'flow'=>array('index'=>'流水总数'),
        'pay'=>array('index'=>'充值','record'=>'充值记录'),
        'payagent'=>array('index'=>'充值','touser'=>'给用户充值','record'=>'充值记录','toself'=>'给自己充值','recordself'=>'我的充值记录')
    ),
    'template' => array(
        'cacheDir' => __DIR__ . '/../cache/',
        'compileAlways' => true
    ),

    'application' => array(
        'libDir' => __DIR__ . '/../lib/',
        'sessionDir' => '/tmp/',
        'logDir' => __DIR__ . '/../../logs/log.log'
    ),


    'rsaPrivateKeyPath' => __DIR__ . '/rsa_private_key.pem',
    'rsaPublicKeyPath' => __DIR__ . '/rsa_public_key.pem',
    'alipayFuwuRsaPublicKeyPath' => __DIR__ . '/alipay_fuwu_rsa_public_key.pem',
    'rsaPublicKey' => 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDDI6d306Q8fIfCOaTXyiUeJHkrIvYISRcc73s3vF1ZT7XN8RNPwJxo8pWaJMmvyTn9N4HQ632qJBVHf8sxHi/fEsraprwCtzvzQETrNRwVxLO5jVmRGi60j8Ue1efIlzPXV9je9mkjzOmdssymZkh2QhUrCmZYI/FCEa3/cNMW0QIDAQAB',
    'alipayFuwuRsaPublicKey' => 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC4/nWohiRJwKZpdU8mZ/9/uV9pfInSOaufQJFt1drIU/Ix3h5eAJFCsjtT5Lg2RPf73KTDFXDawdCJt3hkyfno1UptakN9thETL7EQ8v1/At/uAC1tITrPe9nONZqKZb0bNZhB3LV4Op4zbsp7Cjms5dlhvORXvCUFK1vW/VoygQIDAQAB',

    'host' => 'http://userdev.i-yizhan.com'
));
